Generate release cycle chart and CSV#988
Merged
encukou merged 21 commits intopython:mainfrom Dec 5, 2022
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes python/docs-community#67.
Add a script to read in a JSON file of data about Python releases: PEP no, branch status, release manager and date, and EOL.
The script generates:
Two CSV files
A Mermaid Gantt chart file
The CSV files are used for the tables (#884) and the Mermaid .mmd file is used for the release cycle chart:
Rather than a Sphinx extension, this is a standalone script that can be run via
make versionorpython generate-release-cycle.py. I've also taken advantage of standard Makefile logic so the CSV and Mermaid files are regenerated when the JSON file is modified. They're also regenerated when runningmake html, and only if the JSON file has been modified.Demo
https://cpython-devguide--988.org.readthedocs.build/versions/#python-release-cycle
Questions
Q1: Is this Makefile method of generating the files acceptable? If so, I'll need a hand with the Windows
make.bat(I don't have Windows).Q2: Do we want the Python script in a subdirectory?
TODO